package com.yic.module.mes.controller.admin.mo.vo;

import com.yic.module.mes.api.moroute.dto.MoRouteRespDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 生产排产 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MoRespVO extends MoBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25051")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "工厂")
    private String factoryName;
    @Schema(description = "生产车间")
    private String workshopName;
    @Schema(description = "部门")
    private String deptName;
    @Schema(description = "产品名称")
    private String itemName;
    @Schema(description = "产品代码")
    private String itemCode;
    @Schema(description = "产品规格")
    private String spec;
    @Schema(description = "产品图号")
    private String drawCode;
    @Schema(description = "生产计划")
    private String planCode;
    @Schema(description = "工单工艺路线")
    private List<MoRouteRespDTO> routes;

}
